package com.platform.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author belongsha
 * @email 990876069@qq.com
 * @date 2018-07-30 22:41:08
 */

public class MaterielEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    private Integer id;
    //物料编码
    private String materielCode;
    //物料名称
    private String materielName;
    //物料类型
    private String materielType;
    //单位
    private String unit;
    //图号
    private String drawingNumber;
    //供货渠道
    private String supplyChannel;
    //物料描述
    private String materielDesc;
    //品牌
    private String brand;
    //上架
    private Integer isOnSale;
    //排序
    private Integer sortOrder;
    //删除状态
    private Integer isDelete;
    //添加用户ID
    private Long createUserId;
    //添加时间
    private Date addTime;
    //修改用户ID
    private Long updateUserId;
    //修改时间
    private Date updateTime;
    //商品主图
    private String primaryPicUrl;
    //商品列表图
    private String listPicUrl;
    //备用1
    private Integer backup1;
    //备用2
    private Integer backup2;
    //备用3
    private Integer backup3;
    //备用4
    private Integer backup4;
    //备用5
    private Integer backup5;

    List<GoodsAttributeEntity> attributeEntityList = new ArrayList<>();

    List<GoodsGalleryEntity> goodsImgList = new ArrayList<>();

    public List<GoodsGalleryEntity> getGoodsImgList() {
        return goodsImgList;
    }

    public void setGoodsImgList(List<GoodsGalleryEntity> goodsImgList) {
        this.goodsImgList = goodsImgList;
    }

    public List<GoodsAttributeEntity> getAttributeEntityList() {
        return attributeEntityList;
    }

    public void setAttributeEntityList(List<GoodsAttributeEntity> attributeEntityList) {
        this.attributeEntityList = attributeEntityList;
    }

     /**
     * 设置：主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：主键
     */
    public Integer getId() {
        return id;
    }

    public String getMaterielCode() {
        return materielCode;
    }

    public void setMaterielCode(String materielCode) {
        this.materielCode = materielCode;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getMaterielType() {
        return materielType;
    }

    public void setMaterielType(String materielType) {
        this.materielType = materielType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDrawingNumber() {
        return drawingNumber;
    }

    public void setDrawingNumber(String drawingNumber) {
        this.drawingNumber = drawingNumber;
    }

    public String getSupplyChannel() {
        return supplyChannel;
    }

    public void setSupplyChannel(String supplyChannel) {
        this.supplyChannel = supplyChannel;
    }

    public String getMaterielDesc() {
        return materielDesc;
    }

    public void setMaterielDesc(String materielDesc) {
        this.materielDesc = materielDesc;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getBackup1() {
        return backup1;
    }

    public void setBackup1(Integer backup1) {
        this.backup1 = backup1;
    }

    public Integer getBackup2() {
        return backup2;
    }

    public void setBackup2(Integer backup2) {
        this.backup2 = backup2;
    }

    public Integer getBackup3() {
        return backup3;
    }

    public void setBackup3(Integer backup3) {
        this.backup3 = backup3;
    }

    public Integer getBackup4() {
        return backup4;
    }

    public void setBackup4(Integer backup4) {
        this.backup4 = backup4;
    }

    public Integer getBackup5() {
        return backup5;
    }

    public void setBackup5(Integer backup5) {
        this.backup5 = backup5;
    }

    /**
     * 设置：上架
     */
    public void setIsOnSale(Integer isOnSale) {
        this.isOnSale = isOnSale;
    }

    /**
     * 获取：上架
     */
    public Integer getIsOnSale() {
        return isOnSale;
    }

    /**
     * 设置：添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取：添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置：排序
     */
    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    /**
     * 获取：排序
     */
    public Integer getSortOrder() {
        return sortOrder;
    }

    /**
     * 设置：删除状态
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取：删除状态
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 设置：商品主图
     */
    public void setPrimaryPicUrl(String primaryPicUrl) {
        this.primaryPicUrl = primaryPicUrl;
    }

    /**
     * 获取：商品主图
     */
    public String getPrimaryPicUrl() {
        return primaryPicUrl;
    }

    /**
     * 设置：商品列表图
     */
    public void setListPicUrl(String listPicUrl) {
        this.listPicUrl = listPicUrl;
    }

    /**
     * 获取：商品列表图
     */
    public String getListPicUrl() {
        return listPicUrl;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
